from dateutil.parser import parse

date1 = '2009-05-13 19:19:30 -0400'
date2 = '2009-05-13 19:19:30 +0800'
date3 = '2009-Mar-13 19:19:30 +0800'
d = parse(date1)
print(type(d))
print(d)
print(date1 == date2)
print(parse(date3))
